
SRC = $(wildcard *.c)
OBJ = $(patsubst %.c, %.out, $(SRC))

all:${OBJ}

%.out:%.c
	gcc $^ -o $@ -lpthread
